package com.shy.springframework.beans.factory;

import com.shy.springframework.beans.BeansException;

public interface BeanNameAware extends Aware{
    /**
     * 实现该接口,既能感知到该bean的beanName
     * @param beanName
     * @throws BeansException
     */
    void setBeanName(String beanName) throws BeansException;
}
